# 计科1915班 0306224505 屠玉宝

class Cat:
    def __init__(self, name, tili):
        self.name = name
        self.tili = tili

    def play(self):
        self.tili = self.tili - 5
        print(self.tili)

    def sleep(self):
        self.tili = self.tili + 1
        print(self.tili)


if __name__ == '__main__':
    cat1 = Cat("xiaomao", 100)
    cat1.play()
    cat1.sleep()
